package com.zntech.app.instantcmd.component.demo

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.zntech.app.common.instantcmd.InstantCmd

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

    }

    fun onRegister(view: View) {
        InstantCmd.registerComponent("com.zntech.instant.cmd.BluetoothComponentService")
    }

    fun onMockClick(view: View) {
        InstantCmd.click(0.5f, 0.8f)
    }
}